package org.bigzero.postbank

class Kpi {
	String name
	String operator
	String expression
	static constraints = {
		name(blank:false, nullable:false, maxSize:250, unique:true)
		operator(nullable:false, inList:['average', 'sum'])
		expression(blank:false, nullable:false)
	}

	String toString(){
		name
	}
}
